#ifndef VASH_HISTORY_HEADER
	#define VASH_HISTORY_HEADER
	#include "Database.h"
	#include "Job.h"
	
	class History
	{
		public:
			enum HistoryOrder
			{
				TimeOrder,
				FreqOrder,
				GlobOrder	//Return global history,not directory specific.(Additional Mask)
			};
			History(Database * db);
			void insertToHistory(Job * job);
			std::vector<std::string> getHistory(HistoryOrder order);
			std::vector<std::string> getHistory(std::string path,HistoryOrder order);
			~History();
		private:
			Database * db;
	};
#endif